<?php

//class Apple {
//    public function firstMethod() { }
//    final protected function secondMethod() { }
//    private static function thirdMethod() { }
//}
//
//$class = new ReflectionClass('Apple');
//$methods = $class->getMethod('firstMethod');
//var_dump($methods);
//$a = function($name){
//    echo $name;
//};
//
//var_dump($a instanceof  Closure);die;

//function f1(){
//return 1;
//}
//$a = f1();
//var_dump(!is_null($a));
function f1($a){
    echo $a;
}
//call_user_func('f1',1);
$a = 'abced';
echo substr("app\Request.php",4);